<?php include_partial('partecipa/campagna_short', array('campagna' => $campagna, 'nAdesioni' => $nAdesioni, 'showLink' => 'commenti')); ?>

<div id="nick-list" class="box">
  <?php if($commenti->getNbResults() > 0):?>

    <?php include_partial('global/title', array('title' => "Tutti i nick dei partecipanti")) ?>

    <?php foreach ($commenti->getResults() as $i => $commento): ?>
      <?php echo $commento->getNick()?>,
    <?php endforeach; ?>

    <div id="paginazione"><?php include_partial('global/simple_pagination', array('route' => 'partecipa', 'pager' => $commenti, 'page' => $commenti->getPage(), 'querystringValues' => 'action=nick&id=' . $campagna->getId() . '&slug=' . Cuv::slugify($campagna->getName()))) ?></div>

  <?php else: ?>

    <div><?php echo __("Nessun nick");?></div>

  <?php endif ?>
</div>
